package Beans;

import Bank.Account;
import Bank.Transaction;
import Bank.TransactionPoolInterface;
import Bank.User;

import java.math.BigInteger;
import java.util.Date;

@javax.ejb.Local
public interface TransactionProcessorBeanInterface {

    void setPool(TransactionPoolInterface pool);

    void addTransaction(BigInteger id, Account src, Account target, User initiator,
                        double summ, Date date, Transaction.transactionStatus status);

    void setTimer();

    void tryToDoTransaction();

}
